/*
 * @Author: liuhandong
 * @Date: 2020-9-24 22:55:41
 */
using UnityEngine;
using System;
using System.Collections.Generic;
public class FaceBlendTestProvider : IFaceBlendProvider
{
    public event System.Action onTrackingStateChange;
    private float mLastTime;
    void IFaceBlendProvider.FillCoeffects(Dictionary<ARFaceBlend.Coeffect, float> container)
    {
        int count = (int)ARFaceBlend.Coeffect.Count;
        float s = Mathf.Abs(Mathf.Sin(Time.time)) * 0.5f;
        for(int i = 0; i < count; i++)
        {
            container[(ARFaceBlend.Coeffect)i] = s;
        }
    }
    bool IFaceBlendProvider.IsTracking()
    {
        return true;
    }

    void IDisposable.Dispose()
    {

    }
}